/*
 * @Author: harae Feng 
 * @Date: 2018-08-01 14:50:52 
 * @Last Modified by: harae Feng
 * @Last Modified time: 2018-08-01 16:47:27
 * @Describe 返回服务器配置
 */

const development_env = require('./server/server.dev.js')
const production_env = require('./server/server.production.js')

//根据不同的NODE_ENV，输出不同的配置对象，默认输出development的配置对象
module.exports = {
    development: development_env,
    production: production_env
}[process.env.NODE_ENV || 'development']